package com.qumitech.visualnovel.datasource.app;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.model.dao.app.UserGamingMuchangwuyuStatisticsDO;

public interface UserGamingMuchangwuyuStatisticsDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(UserGamingMuchangwuyuStatisticsDO record);

    int insertSelective(UserGamingMuchangwuyuStatisticsDO record);

    UserGamingMuchangwuyuStatisticsDO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserGamingMuchangwuyuStatisticsDO record);

    int updateByPrimaryKey(UserGamingMuchangwuyuStatisticsDO record);

    int getCount(@Param("tableName") String tableName,
                 @Param("uid") String uid,
                 @Param("startTime") String startTime,
                 @Param("endTime") String endTime);

    List<UserGamingMuchangwuyuStatisticsDO> getList(@Param("tableName") String tableName,
                                                    @Param("uid") String uid,
                                                    @Param("startTime") String startTime,
                                                    @Param("endTime") String endTime,
                                                    @Param("offset") int offset,
                                                    @Param("limit") int limit);
}